﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014C3 RID: 5315
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdatePsnSettingsInfoCsReq : IMessage<UpdatePsnSettingsInfoCsReq>, IMessage, IEquatable<UpdatePsnSettingsInfoCsReq>, IDeepCloneable<UpdatePsnSettingsInfoCsReq>, IBufferMessage
	{
		// Token: 0x170042E6 RID: 17126
		// (get) Token: 0x0600EDA7 RID: 60839 RVA: 0x0027AD3C File Offset: 0x00278F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdatePsnSettingsInfoCsReq> Parser
		{
			get
			{
				return UpdatePsnSettingsInfoCsReq._parser;
			}
		}

		// Token: 0x170042E7 RID: 17127
		// (get) Token: 0x0600EDA8 RID: 60840 RVA: 0x0027AD43 File Offset: 0x00278F43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdatePsnSettingsInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042E8 RID: 17128
		// (get) Token: 0x0600EDA9 RID: 60841 RVA: 0x0027AD55 File Offset: 0x00278F55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdatePsnSettingsInfoCsReq.Descriptor;
			}
		}

		// Token: 0x0600EDAA RID: 60842 RVA: 0x0027AD5C File Offset: 0x00278F5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePsnSettingsInfoCsReq()
		{
		}

		// Token: 0x0600EDAB RID: 60843 RVA: 0x0027AD64 File Offset: 0x00278F64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePsnSettingsInfoCsReq(UpdatePsnSettingsInfoCsReq other) : this()
		{
			UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase kijaalebhpjcase = other.KIJAALEBHPJCase;
			if (kijaalebhpjcase != UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
			{
				if (kijaalebhpjcase == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
				{
					this.NFAMEILPPGI = other.NFAMEILPPGI.Clone();
				}
			}
			else
			{
				this.AKJFADFKBDJ = other.AKJFADFKBDJ.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EDAC RID: 60844 RVA: 0x0027ADC5 File Offset: 0x00278FC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePsnSettingsInfoCsReq Clone()
		{
			return new UpdatePsnSettingsInfoCsReq(this);
		}

		// Token: 0x170042E9 RID: 17129
		// (get) Token: 0x0600EDAD RID: 60845 RVA: 0x0027ADCD File Offset: 0x00278FCD
		// (set) Token: 0x0600EDAE RID: 60846 RVA: 0x0027ADE9 File Offset: 0x00278FE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MKCDFIIKEPP AKJFADFKBDJ
		{
			get
			{
				if (this.kIJAALEBHPJCase_ != UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
				{
					return null;
				}
				return (MKCDFIIKEPP)this.kIJAALEBHPJ_;
			}
			set
			{
				this.kIJAALEBHPJ_ = value;
				this.kIJAALEBHPJCase_ = ((value == null) ? UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.None : UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ);
			}
		}

		// Token: 0x170042EA RID: 17130
		// (get) Token: 0x0600EDAF RID: 60847 RVA: 0x0027AE03 File Offset: 0x00279003
		// (set) Token: 0x0600EDB0 RID: 60848 RVA: 0x0027AE1F File Offset: 0x0027901F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GIBBJHPOHGE NFAMEILPPGI
		{
			get
			{
				if (this.kIJAALEBHPJCase_ != UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
				{
					return null;
				}
				return (GIBBJHPOHGE)this.kIJAALEBHPJ_;
			}
			set
			{
				this.kIJAALEBHPJ_ = value;
				this.kIJAALEBHPJCase_ = ((value == null) ? UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.None : UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI);
			}
		}

		// Token: 0x170042EB RID: 17131
		// (get) Token: 0x0600EDB1 RID: 60849 RVA: 0x0027AE39 File Offset: 0x00279039
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase KIJAALEBHPJCase
		{
			get
			{
				return this.kIJAALEBHPJCase_;
			}
		}

		// Token: 0x0600EDB2 RID: 60850 RVA: 0x0027AE41 File Offset: 0x00279041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearKIJAALEBHPJ()
		{
			this.kIJAALEBHPJCase_ = UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.None;
			this.kIJAALEBHPJ_ = null;
		}

		// Token: 0x0600EDB3 RID: 60851 RVA: 0x0027AE51 File Offset: 0x00279051
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdatePsnSettingsInfoCsReq);
		}

		// Token: 0x0600EDB4 RID: 60852 RVA: 0x0027AE60 File Offset: 0x00279060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdatePsnSettingsInfoCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.AKJFADFKBDJ, other.AKJFADFKBDJ) && object.Equals(this.NFAMEILPPGI, other.NFAMEILPPGI) && this.KIJAALEBHPJCase == other.KIJAALEBHPJCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EDB5 RID: 60853 RVA: 0x0027AEC4 File Offset: 0x002790C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
			{
				num ^= this.AKJFADFKBDJ.GetHashCode();
			}
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
			{
				num ^= this.NFAMEILPPGI.GetHashCode();
			}
			num ^= (int)this.kIJAALEBHPJCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EDB6 RID: 60854 RVA: 0x0027AF29 File Offset: 0x00279129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EDB7 RID: 60855 RVA: 0x0027AF31 File Offset: 0x00279131
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EDB8 RID: 60856 RVA: 0x0027AF3C File Offset: 0x0027913C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
			{
				output.WriteRawTag(154, 71);
				output.WriteMessage(this.AKJFADFKBDJ);
			}
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
			{
				output.WriteRawTag(170, 89);
				output.WriteMessage(this.NFAMEILPPGI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EDB9 RID: 60857 RVA: 0x0027AFAC File Offset: 0x002791AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.AKJFADFKBDJ);
			}
			if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.NFAMEILPPGI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EDBA RID: 60858 RVA: 0x0027B00C File Offset: 0x0027920C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdatePsnSettingsInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase kijaalebhpjcase = other.KIJAALEBHPJCase;
			if (kijaalebhpjcase != UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
			{
				if (kijaalebhpjcase == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
				{
					if (this.NFAMEILPPGI == null)
					{
						this.NFAMEILPPGI = new GIBBJHPOHGE();
					}
					this.NFAMEILPPGI.MergeFrom(other.NFAMEILPPGI);
				}
			}
			else
			{
				if (this.AKJFADFKBDJ == null)
				{
					this.AKJFADFKBDJ = new MKCDFIIKEPP();
				}
				this.AKJFADFKBDJ.MergeFrom(other.AKJFADFKBDJ);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EDBB RID: 60859 RVA: 0x0027B097 File Offset: 0x00279297
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EDBC RID: 60860 RVA: 0x0027B0A0 File Offset: 0x002792A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 9114U)
				{
					if (num != 11434U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						GIBBJHPOHGE gibbjhpohge = new GIBBJHPOHGE();
						if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.NFAMEILPPGI)
						{
							gibbjhpohge.MergeFrom(this.NFAMEILPPGI);
						}
						input.ReadMessage(gibbjhpohge);
						this.NFAMEILPPGI = gibbjhpohge;
					}
				}
				else
				{
					MKCDFIIKEPP mkcdfiikepp = new MKCDFIIKEPP();
					if (this.kIJAALEBHPJCase_ == UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase.AKJFADFKBDJ)
					{
						mkcdfiikepp.MergeFrom(this.AKJFADFKBDJ);
					}
					input.ReadMessage(mkcdfiikepp);
					this.AKJFADFKBDJ = mkcdfiikepp;
				}
			}
		}

		// Token: 0x04005DF9 RID: 24057
		private static readonly MessageParser<UpdatePsnSettingsInfoCsReq> _parser = new MessageParser<UpdatePsnSettingsInfoCsReq>(() => new UpdatePsnSettingsInfoCsReq());

		// Token: 0x04005DFA RID: 24058
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DFB RID: 24059
		public const int AKJFADFKBDJFieldNumber = 1139;

		// Token: 0x04005DFC RID: 24060
		public const int NFAMEILPPGIFieldNumber = 1429;

		// Token: 0x04005DFD RID: 24061
		private object kIJAALEBHPJ_;

		// Token: 0x04005DFE RID: 24062
		private UpdatePsnSettingsInfoCsReq.KIJAALEBHPJOneofCase kIJAALEBHPJCase_;

		// Token: 0x02001F29 RID: 7977
		public enum KIJAALEBHPJOneofCase
		{
			// Token: 0x04006AF9 RID: 27385
			None,
			// Token: 0x04006AFA RID: 27386
			AKJFADFKBDJ = 1139,
			// Token: 0x04006AFB RID: 27387
			NFAMEILPPGI = 1429
		}
	}
}
